using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sio.Mdm.Entities;

namespace Sio.Mdm.Types.Database
{
    [Entity(
		"StarsiService",
        TableName = "STARSI"
    )]  
    public interface Stars : Vloga
    {
        [Field(Name = "TELEFON")]
        string Telefon { get; set; }

        [Field(Name = "TELEFON_SLUZBA")]
        string TelefonSluzba { get; set; }
    }

    [StoredProcedureEntity(
        "StarsiIzRazredaService",
        TableName = "STARSI",
        StoredProcedureName = "SP_STARSI({0}, {1}, {2}, {3})"  // RazredID integer, Razred integer, OrganizacijaID integer, LetoId integer
    )]
    public interface StarsIzRazreda : IEntity
    {
        [Field(Name = "IDM_STEVILKA")]
        int IdmStevilka { get;}
    }
}
